2024-07-22 09:10:35,290 INFO mapreduce.MiniHadoopClusterManager: Updated 0 configuration settings from command line. 2024-07-22 09:10:35,341 INFO hdfs.MiniDFSCluster: starting cluster: numNameNodes=1, numDataNodes=1 2024-07-22 09:10:35,650 INFO namenode.NameNode: Formatting using clusterid: testClusterID 2024-07-22 09:10:35,660 INFO namenode.FSEditLog: Edit logging is async:true 2024-07-22 09:10:35,676 INFO namenode.FSNamesystem: KeyProvider: null 2024-07-22 09:10:35,677 INFO namenode.FSNamesystem: fsLock is fair: true 2024-07-22 09:10:35,677 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2024-07-22 09:10:35,698 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2024-07-22 09:10:35,698 INFO namenode.FSNamesystem: supergroup = supergroup 2024-07-22 09:10:35,698 INFO namenode.FSNamesystem: isPermissionEnabled = true 2024-07-22 09:10:35,698 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2024-07-22 09:10:35,698 INFO namenode.FSNamesystem: HA Enabled: false 2024-07-22 09:10:35,724 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-07-22 09:10:35,727 INFO Configuration.deprecation: hadoop.configured.node.mapping is deprecated. Instead, use net.topology.configured.node.mapping 2024-07-22 09:10:35,727 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2024-07-22 09:10:35,727 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2024-07-22 09:10:35,730 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2024-07-22 09:10:35,730 INFO blockmanagement.BlockManager: The block deletion will start around 2024 Jul 22 09:10:35 2024-07-22 09:10:35,731 INFO util.GSet: Computing capacity for map BlocksMap 2024-07-22 09:10:35,731 INFO util.GSet: VM type = 64-bit 2024-07-22 09:10:35,731 INFO util.GSet: 2.0% max memory 7.7 GB = 156.7 MB 2024-07-22 09:10:35,731 INFO util.GSet: capacity = 2^24 = 16777216 entries 2024-07-22 09:10:35,754 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2024-07-22 09:10:35,754 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2024-07-22 09:10:35,758 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2024-07-22 09:10:35,759 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2024-07-22 09:10:35,759 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2024-07-22 09:10:35,759 INFO blockmanagement.BlockManager: defaultReplication = 1 2024-07-22 09:10:35,759 INFO blockmanagement.BlockManager: maxReplication = 512 2024-07-22 09:10:35,759 INFO blockmanagement.BlockManager: minReplication = 1 2024-07-22 09:10:35,759 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2024-07-22 09:10:35,759 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2024-07-22 09:10:35,759 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2024-07-22 09:10:35,759 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2024-07-22 09:10:35,772 INFO namenode.FSDirectory: GLOBAL serial map: bits=29 maxEntries=536870911 2024-07-22 09:10:35,772 INFO namenode.FSDirectory: USER serial map: bits=24 maxEntries=16777215 2024-07-22 09:10:35,773 INFO namenode.FSDirectory: GROUP serial map: bits=24 maxEntries=16777215 2024-07-22 09:10:35,773 INFO namenode.FSDirectory: XATTR serial map: bits=24 maxEntries=16777215 2024-07-22 09:10:35,779 INFO util.GSet: Computing capacity for map INodeMap 2024-07-22 09:10:35,779 INFO util.GSet: VM type = 64-bit 2024-07-22 09:10:35,780 INFO util.GSet: 1.0% max memory 7.7 GB = 78.3 MB 2024-07-22 09:10:35,780 INFO util.GSet: capacity = 2^23 = 8388608 entries 2024-07-22 09:10:35,789 INFO namenode.FSDirectory: ACLs enabled? true 2024-07-22 09:10:35,789 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2024-07-22 09:10:35,789 INFO namenode.FSDirectory: XAttrs enabled? true 2024-07-22 09:10:35,789 INFO namenode.NameNode: Caching file names occurring more than 10 times 2024-07-22 09:10:35,792 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2024-07-22 09:10:35,793 INFO snapshot.SnapshotManager: SkipList is disabled 2024-07-22 09:10:35,796 INFO util.GSet: Computing capacity for map cachedBlocks 2024-07-22 09:10:35,796 INFO util.GSet: VM type = 64-bit 2024-07-22 09:10:35,796 INFO util.GSet: 0.25% max memory 7.7 GB = 19.6 MB 2024-07-22 09:10:35,796 INFO util.GSet: capacity = 2^21 = 2097152 entries 2024-07-22 09:10:35,807 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2024-07-22 09:10:35,807 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2024-07-22 09:10:35,807 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2024-07-22 09:10:35,809 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2024-07-22 09:10:35,809 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2024-07-22 09:10:35,810 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2024-07-22 09:10:35,810 INFO util.GSet: VM type = 64-bit 2024-07-22 09:10:35,811 INFO util.GSet: 0.029999999329447746% max memory 7.7 GB = 2.4 MB 2024-07-22 09:10:35,811 INFO util.GSet: capacity = 2^18 = 262144 entries 2024-07-22 09:10:35,826 INFO namenode.FSImage: Allocated new BlockPoolId: BP-1046716545-172.17.0.2-1721639435820 2024-07-22 09:10:35,838 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-1 has been successfully formatted. 2024-07-22 09:10:35,841 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-2 has been successfully formatted. 2024-07-22 09:10:35,868 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 using no compression 2024-07-22 09:10:35,868 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 using no compression 2024-07-22 09:10:35,959 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2024-07-22 09:10:35,959 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2024-07-22 09:10:35,972 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0 2024-07-22 09:10:36,012 INFO namenode.FSNamesystem: Stopping services started for active state 2024-07-22 09:10:36,012 INFO namenode.FSNamesystem: Stopping services started for standby state 2024-07-22 09:10:36,013 INFO namenode.NameNode: createNameNode [] 2024-07-22 09:10:36,054 INFO impl.MetricsConfig: Loaded properties from hadoop-metrics2.properties 2024-07-22 09:10:36,120 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot period at 10 second(s). 2024-07-22 09:10:36,120 INFO impl.MetricsSystemImpl: NameNode metrics system started 2024-07-22 09:10:36,141 INFO namenode.NameNodeUtils: fs.defaultFS is hdfs://127.0.0.1:12222 2024-07-22 09:10:36,141 INFO namenode.NameNode: Clients should use 127.0.0.1:12222 to access this namenode/service. 2024-07-22 09:10:36,177 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2024-07-22 09:10:36,183 INFO hdfs.DFSUtil: Filter initializers set : org.apache.hadoop.http.lib.StaticUserWebFilter,org.apache.hadoop.hdfs.web.AuthFilterInitializer 2024-07-22 09:10:36,186 INFO hdfs.DFSUtil: Starting Web-server for hdfs at: http://localhost:0 2024-07-22 09:10:36,194 INFO util.log: Logging initialized @1304ms to org.eclipse.jetty.util.log.Slf4jLog 2024-07-22 09:10:36,247 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-07-22 09:10:36,250 INFO http.HttpRequestLog: Http request log for http.requests.namenode is not defined 2024-07-22 09:10:36,255 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2024-07-22 09:10:36,257 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context hdfs 2024-07-22 09:10:36,257 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2024-07-22 09:10:36,257 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2024-07-22 09:10:36,259 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context hdfs 2024-07-22 09:10:36,259 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context logs 2024-07-22 09:10:36,259 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context static 2024-07-22 09:10:36,278 INFO http.HttpServer2: addJerseyResourcePackage: packageName=org.apache.hadoop.hdfs.server.namenode.web.resources;org.apache.hadoop.hdfs.web.resources, pathSpec=/webhdfs/v1/* 2024-07-22 09:10:36,283 INFO http.HttpServer2: Jetty bound to port 36631 2024-07-22 09:10:36,284 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.23+9-post-Ubuntu-1ubuntu122.04.1 2024-07-22 09:10:36,300 INFO server.session: DefaultSessionIdManager workerName=node0 2024-07-22 09:10:36,301 INFO server.session: No SessionScavenger set, using defaults 2024-07-22 09:10:36,301 INFO server.session: node0 Scavenging every 600000ms 2024-07-22 09:10:36,311 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-07-22 09:10:36,312 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@44d70181{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2024-07-22 09:10:36,313 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@5c09d180{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2024-07-22 09:10:36,383 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@6a969fb8{hdfs,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs} 2024-07-22 09:10:36,393 INFO server.AbstractConnector: Started ServerConnector@30cdae70{HTTP/1.1, (http/1.1)}{localhost:36631} 2024-07-22 09:10:36,393 INFO server.Server: Started @1503ms 2024-07-22 09:10:36,396 INFO namenode.FSEditLog: Edit logging is async:true 2024-07-22 09:10:36,406 INFO namenode.FSNamesystem: KeyProvider: null 2024-07-22 09:10:36,406 INFO namenode.FSNamesystem: fsLock is fair: true 2024-07-22 09:10:36,406 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2024-07-22 09:10:36,406 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2024-07-22 09:10:36,406 INFO namenode.FSNamesystem: supergroup = supergroup 2024-07-22 09:10:36,406 INFO namenode.FSNamesystem: isPermissionEnabled = true 2024-07-22 09:10:36,406 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2024-07-22 09:10:36,406 INFO namenode.FSNamesystem: HA Enabled: false 2024-07-22 09:10:36,406 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-07-22 09:10:36,407 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2024-07-22 09:10:36,407 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2024-07-22 09:10:36,407 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2024-07-22 09:10:36,407 INFO blockmanagement.BlockManager: The block deletion will start around 2024 Jul 22 09:10:36 2024-07-22 09:10:36,407 INFO util.GSet: Computing capacity for map BlocksMap 2024-07-22 09:10:36,407 INFO util.GSet: VM type = 64-bit 2024-07-22 09:10:36,407 INFO util.GSet: 2.0% max memory 7.7 GB = 156.7 MB 2024-07-22 09:10:36,407 INFO util.GSet: capacity = 2^24 = 16777216 entries 2024-07-22 09:10:36,411 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2024-07-22 09:10:36,411 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2024-07-22 09:10:36,411 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2024-07-22 09:10:36,411 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2024-07-22 09:10:36,411 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2024-07-22 09:10:36,412 INFO blockmanagement.BlockManager: defaultReplication = 1 2024-07-22 09:10:36,412 INFO blockmanagement.BlockManager: maxReplication = 512 2024-07-22 09:10:36,412 INFO blockmanagement.BlockManager: minReplication = 1 2024-07-22 09:10:36,412 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2024-07-22 09:10:36,412 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2024-07-22 09:10:36,412 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2024-07-22 09:10:36,412 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2024-07-22 09:10:36,412 INFO util.GSet: Computing capacity for map INodeMap 2024-07-22 09:10:36,412 INFO util.GSet: VM type = 64-bit 2024-07-22 09:10:36,412 INFO util.GSet: 1.0% max memory 7.7 GB = 78.3 MB 2024-07-22 09:10:36,412 INFO util.GSet: capacity = 2^23 = 8388608 entries 2024-07-22 09:10:36,422 INFO namenode.FSDirectory: ACLs enabled? true 2024-07-22 09:10:36,422 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2024-07-22 09:10:36,422 INFO namenode.FSDirectory: XAttrs enabled? true 2024-07-22 09:10:36,422 INFO namenode.NameNode: Caching file names occurring more than 10 times 2024-07-22 09:10:36,422 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2024-07-22 09:10:36,422 INFO snapshot.SnapshotManager: SkipList is disabled 2024-07-22 09:10:36,422 INFO util.GSet: Computing capacity for map cachedBlocks 2024-07-22 09:10:36,422 INFO util.GSet: VM type = 64-bit 2024-07-22 09:10:36,422 INFO util.GSet: 0.25% max memory 7.7 GB = 19.6 MB 2024-07-22 09:10:36,422 INFO util.GSet: capacity = 2^21 = 2097152 entries 2024-07-22 09:10:36,425 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2024-07-22 09:10:36,425 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2024-07-22 09:10:36,425 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2024-07-22 09:10:36,425 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2024-07-22 09:10:36,425 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2024-07-22 09:10:36,425 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2024-07-22 09:10:36,425 INFO util.GSet: VM type = 64-bit 2024-07-22 09:10:36,425 INFO util.GSet: 0.029999999329447746% max memory 7.7 GB = 2.4 MB 2024-07-22 09:10:36,425 INFO util.GSet: capacity = 2^18 = 262144 entries 2024-07-22 09:10:36,432 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-1/in_use.lock acquired by nodename 561@b09a779db27c 2024-07-22 09:10:36,436 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-2/in_use.lock acquired by nodename 561@b09a779db27c 2024-07-22 09:10:36,439 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-1/current 2024-07-22 09:10:36,439 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-2/current 2024-07-22 09:10:36,439 INFO namenode.FSImage: No edit log streams selected. 2024-07-22 09:10:36,440 INFO namenode.FSImage: Planning to load image: FSImageFile(file=/hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000, cpktTxId=0000000000000000000) 2024-07-22 09:10:36,467 INFO namenode.FSImageFormatPBINode: Loading 1 INodes. 2024-07-22 09:10:36,467 INFO namenode.FSImageFormatPBINode: Successfully loaded 1 inodes 2024-07-22 09:10:36,471 INFO namenode.FSImageFormatPBINode: Completed update blocks map and name cache, total waiting duration 0ms. 2024-07-22 09:10:36,473 INFO namenode.FSImageFormatProtobuf: Loaded FSImage in 0 seconds. 2024-07-22 09:10:36,473 INFO namenode.FSImage: Loaded image for txid 0 from /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000 2024-07-22 09:10:36,477 INFO namenode.FSNamesystem: Need to save fs image? false (staleImage=false, haEnabled=false, isRollingUpgrade=false) 2024-07-22 09:10:36,477 INFO namenode.FSEditLog: Starting log segment at 1 2024-07-22 09:10:36,493 INFO namenode.NameCache: initialized with 0 entries 0 lookups 2024-07-22 09:10:36,493 INFO namenode.FSNamesystem: Finished loading FSImage in 66 msecs 2024-07-22 09:10:36,587 INFO namenode.NameNode: RPC server is binding to localhost:12222 2024-07-22 09:10:36,587 INFO namenode.NameNode: Enable NameNode state context:false 2024-07-22 09:10:36,592 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2024-07-22 09:10:36,598 INFO ipc.Server: Starting Socket Reader #1 for port 12222 2024-07-22 09:10:36,729 INFO namenode.FSNamesystem: Registered FSNamesystemState, ReplicatedBlocksState and ECBlockGroupsState MBeans. 2024-07-22 09:10:36,738 INFO namenode.LeaseManager: Number of blocks under construction: 0 2024-07-22 09:10:36,743 INFO blockmanagement.DatanodeAdminDefaultMonitor: Initialized the Default Decommission and Maintenance monitor 2024-07-22 09:10:36,745 INFO blockmanagement.BlockManager: initializing replication queues 2024-07-22 09:10:36,745 INFO hdfs.StateChange: STATE* Leaving safe mode after 0 secs 2024-07-22 09:10:36,746 INFO hdfs.StateChange: STATE* Network topology has 0 racks and 0 datanodes 2024-07-22 09:10:36,746 INFO hdfs.StateChange: STATE* UnderReplicatedBlocks has 0 blocks 2024-07-22 09:10:36,752 INFO blockmanagement.BlockManager: Total number of blocks = 0 2024-07-22 09:10:36,752 INFO blockmanagement.BlockManager: Number of invalid blocks = 0 2024-07-22 09:10:36,752 INFO blockmanagement.BlockManager: Number of under-replicated blocks = 0 2024-07-22 09:10:36,752 INFO blockmanagement.BlockManager: Number of over-replicated blocks = 0 2024-07-22 09:10:36,753 INFO blockmanagement.BlockManager: Number of blocks being written = 0 2024-07-22 09:10:36,753 INFO hdfs.StateChange: STATE* Replication Queue initialization scan for invalid, over- and under-replicated blocks completed in 7 msec 2024-07-22 09:10:36,768 INFO ipc.Server: IPC Server Responder: starting 2024-07-22 09:10:36,769 INFO ipc.Server: IPC Server listener on 12222: starting 2024-07-22 09:10:36,771 INFO namenode.NameNode: NameNode RPC up at: localhost/127.0.0.1:12222 2024-07-22 09:10:36,773 INFO namenode.FSNamesystem: Starting services required for active state 2024-07-22 09:10:36,773 INFO namenode.FSDirectory: Initializing quota with 12 thread(s) 2024-07-22 09:10:36,776 INFO namenode.FSDirectory: Quota initialization completed in 3 milliseconds name space=1 storage space=0 storage types=RAM_DISK=0, SSD=0, DISK=0, ARCHIVE=0, PROVIDED=0 2024-07-22 09:10:36,779 INFO blockmanagement.CacheReplicationMonitor: Starting CacheReplicationMonitor with interval 30000 milliseconds 2024-07-22 09:10:36,785 INFO hdfs.MiniDFSCluster: Starting DataNode 0 with dfs.datanode.data.dir: [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1,[DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2024-07-22 09:10:36,818 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 2024-07-22 09:10:36,825 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2024-07-22 09:10:36,857 INFO impl.MetricsSystemImpl: DataNode metrics system started (again) 2024-07-22 09:10:36,860 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-07-22 09:10:36,862 INFO datanode.BlockScanner: Initialized block scanner with targetBytesPerSec 1048576 2024-07-22 09:10:36,865 INFO datanode.DataNode: Configured hostname is 127.0.0.1 2024-07-22 09:10:36,866 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-07-22 09:10:36,868 INFO datanode.DataNode: Starting DataNode with maxLockedMemory = 0 2024-07-22 09:10:36,872 INFO datanode.DataNode: Opened streaming server at /127.0.0.1:37229 2024-07-22 09:10:36,873 INFO datanode.DataNode: Balancing bandwidth is 104857600 bytes/s 2024-07-22 09:10:36,873 INFO datanode.DataNode: Number threads for balancing is 100 2024-07-22 09:10:36,900 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-07-22 09:10:36,900 INFO http.HttpRequestLog: Http request log for http.requests.datanode is not defined 2024-07-22 09:10:36,902 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2024-07-22 09:10:36,904 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context datanode 2024-07-22 09:10:36,904 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2024-07-22 09:10:36,904 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2024-07-22 09:10:36,906 INFO http.HttpServer2: Jetty bound to port 45927 2024-07-22 09:10:36,906 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.23+9-post-Ubuntu-1ubuntu122.04.1 2024-07-22 09:10:36,907 INFO server.session: DefaultSessionIdManager workerName=node0 2024-07-22 09:10:36,907 INFO server.session: No SessionScavenger set, using defaults 2024-07-22 09:10:36,907 INFO server.session: node0 Scavenging every 600000ms 2024-07-22 09:10:36,908 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@35a60674{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2024-07-22 09:10:36,908 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@7d78f3d5{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2024-07-22 09:10:36,914 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@3b48e183{datanode,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode} 2024-07-22 09:10:36,914 INFO server.AbstractConnector: Started ServerConnector@48976e6d{HTTP/1.1, (http/1.1)}{localhost:45927} 2024-07-22 09:10:36,914 INFO server.Server: Started @2024ms 2024-07-22 09:10:36,987 WARN web.DatanodeHttpServer: Got null for restCsrfPreventionFilter - will not do any filtering. 2024-07-22 09:10:37,041 INFO web.DatanodeHttpServer: Listening HTTP traffic on /127.0.0.1:41709 2024-07-22 09:10:37,042 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2024-07-22 09:10:37,043 INFO datanode.DataNode: dnUserName = clickhouse 2024-07-22 09:10:37,043 INFO datanode.DataNode: supergroup = supergroup 2024-07-22 09:10:37,051 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2024-07-22 09:10:37,052 INFO ipc.Server: Starting Socket Reader #1 for port 0 2024-07-22 09:10:37,056 INFO datanode.DataNode: Opened IPC server at /127.0.0.1:44031 2024-07-22 09:10:37,073 INFO datanode.DataNode: Refresh request received for nameservices: null 2024-07-22 09:10:37,074 INFO datanode.DataNode: Starting BPOfferServices for nameservices: 2024-07-22 09:10:37,080 INFO datanode.DataNode: Block pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 starting to offer service 2024-07-22 09:10:37,084 INFO ipc.Server: IPC Server Responder: starting 2024-07-22 09:10:37,085 INFO ipc.Server: IPC Server listener on 0: starting 2024-07-22 09:10:37,243 INFO datanode.DataNode: Acknowledging ACTIVE Namenode during handshakeBlock pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 2024-07-22 09:10:37,245 INFO common.Storage: Using 2 threads to upgrade data directories (dfs.datanode.parallel.volumes.load.threads.num=2, dataDirs=2) 2024-07-22 09:10:37,248 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data1/in_use.lock acquired by nodename 561@b09a779db27c 2024-07-22 09:10:37,249 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 is not formatted for namespace 1207635808. Formatting... 2024-07-22 09:10:37,249 INFO common.Storage: Generated new storageID DS-a1448e88-6b15-4aee-887b-5f61d7d821b5 for directory /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-07-22 09:10:37,255 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data2/in_use.lock acquired by nodename 561@b09a779db27c 2024-07-22 09:10:37,255 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 is not formatted for namespace 1207635808. Formatting... 2024-07-22 09:10:37,255 INFO common.Storage: Generated new storageID DS-d83226d1-e7ab-4a7d-a33e-3a47bd02f3bd for directory /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-07-22 09:10:37,280 INFO common.Storage: Analyzing storage directories for bpid BP-1046716545-172.17.0.2-1721639435820 2024-07-22 09:10:37,280 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1046716545-172.17.0.2-1721639435820 2024-07-22 09:10:37,281 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 and block pool id BP-1046716545-172.17.0.2-1721639435820 is not formatted. Formatting ... 2024-07-22 09:10:37,281 INFO common.Storage: Formatting block pool BP-1046716545-172.17.0.2-1721639435820 directory /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1046716545-172.17.0.2-1721639435820/current 2024-07-22 09:10:37,302 INFO common.Storage: Analyzing storage directories for bpid BP-1046716545-172.17.0.2-1721639435820 2024-07-22 09:10:37,303 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1046716545-172.17.0.2-1721639435820 2024-07-22 09:10:37,303 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 and block pool id BP-1046716545-172.17.0.2-1721639435820 is not formatted. Formatting ... 2024-07-22 09:10:37,303 INFO common.Storage: Formatting block pool BP-1046716545-172.17.0.2-1721639435820 directory /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1046716545-172.17.0.2-1721639435820/current 2024-07-22 09:10:37,307 INFO datanode.DataNode: Setting up storage: nsid=1207635808;bpid=BP-1046716545-172.17.0.2-1721639435820;lv=-57;nsInfo=lv=-66;cid=testClusterID;nsid=1207635808;c=1721639435820;bpid=BP-1046716545-172.17.0.2-1721639435820;dnuuid=null 2024-07-22 09:10:37,309 INFO datanode.DataNode: Generated and persisted new Datanode UUID a9f331a6-65a9-42b5-8b82-f8f1503d80dd 2024-07-22 09:10:37,322 INFO impl.FsDatasetImpl: The datanode lock is a read write lock 2024-07-22 09:10:37,331 INFO hdfs.MiniDFSCluster: dnInfo.length != numDataNodes 2024-07-22 09:10:37,331 INFO hdfs.MiniDFSCluster: Waiting for cluster to become active 2024-07-22 09:10:37,375 INFO impl.FsDatasetImpl: Added new volume: DS-a1448e88-6b15-4aee-887b-5f61d7d821b5 2024-07-22 09:10:37,375 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1, StorageType: DISK 2024-07-22 09:10:37,376 INFO impl.FsDatasetImpl: Added new volume: DS-d83226d1-e7ab-4a7d-a33e-3a47bd02f3bd 2024-07-22 09:10:37,376 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2, StorageType: DISK 2024-07-22 09:10:37,379 INFO impl.MemoryMappableBlockLoader: Initializing cache loader: MemoryMappableBlockLoader. 2024-07-22 09:10:37,380 INFO impl.FsDatasetImpl: Registered FSDatasetState MBean 2024-07-22 09:10:37,383 INFO impl.FsDatasetImpl: Adding block pool BP-1046716545-172.17.0.2-1721639435820 2024-07-22 09:10:37,383 INFO impl.FsDatasetImpl: Scanning block pool BP-1046716545-172.17.0.2-1721639435820 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2024-07-22 09:10:37,384 INFO impl.FsDatasetImpl: Scanning block pool BP-1046716545-172.17.0.2-1721639435820 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2024-07-22 09:10:37,412 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-1046716545-172.17.0.2-1721639435820 on /hadoop-3.3.1/target/test/data/dfs/data/data2: 29ms 2024-07-22 09:10:37,413 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-1046716545-172.17.0.2-1721639435820 on /hadoop-3.3.1/target/test/data/dfs/data/data1: 30ms 2024-07-22 09:10:37,414 INFO impl.FsDatasetImpl: Total time to scan all replicas for block pool BP-1046716545-172.17.0.2-1721639435820: 30ms 2024-07-22 09:10:37,414 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-1046716545-172.17.0.2-1721639435820 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2024-07-22 09:10:37,415 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-1046716545-172.17.0.2-1721639435820 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2024-07-22 09:10:37,415 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1046716545-172.17.0.2-1721639435820/current/replicas doesn't exist 2024-07-22 09:10:37,415 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1046716545-172.17.0.2-1721639435820/current/replicas doesn't exist 2024-07-22 09:10:37,416 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-1046716545-172.17.0.2-1721639435820 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2: 2ms 2024-07-22 09:10:37,417 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-1046716545-172.17.0.2-1721639435820 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1: 3ms 2024-07-22 09:10:37,417 INFO impl.FsDatasetImpl: Total time to add all replicas to map for block pool BP-1046716545-172.17.0.2-1721639435820: 3ms 2024-07-22 09:10:37,417 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-07-22 09:10:37,422 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-07-22 09:10:37,423 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-07-22 09:10:37,423 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-07-22 09:10:37,424 INFO datanode.VolumeScanner: Now scanning bpid BP-1046716545-172.17.0.2-1721639435820 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-07-22 09:10:37,424 INFO datanode.VolumeScanner: Now scanning bpid BP-1046716545-172.17.0.2-1721639435820 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-07-22 09:10:37,425 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-a1448e88-6b15-4aee-887b-5f61d7d821b5): finished scanning block pool BP-1046716545-172.17.0.2-1721639435820 2024-07-22 09:10:37,425 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-d83226d1-e7ab-4a7d-a33e-3a47bd02f3bd): finished scanning block pool BP-1046716545-172.17.0.2-1721639435820 2024-07-22 09:10:37,426 WARN datanode.DirectoryScanner: dfs.datanode.directoryscan.throttle.limit.ms.per.sec set to value above 1000 ms/sec. Assuming default value of -1 2024-07-22 09:10:37,426 INFO datanode.DirectoryScanner: Periodic Directory Tree Verification scan starting in 15126694ms with interval of 21600000ms and throttle limit of -1ms/s 2024-07-22 09:10:37,429 INFO datanode.DataNode: Block pool BP-1046716545-172.17.0.2-1721639435820 (Datanode Uuid a9f331a6-65a9-42b5-8b82-f8f1503d80dd) service to localhost/127.0.0.1:12222 beginning handshake with NN 2024-07-22 09:10:37,434 INFO hdfs.MiniDFSCluster: dnInfo.length != numDataNodes 2024-07-22 09:10:37,435 INFO hdfs.MiniDFSCluster: Waiting for cluster to become active 2024-07-22 09:10:37,435 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-a1448e88-6b15-4aee-887b-5f61d7d821b5): no suitable block pools found to scan. Waiting 1814399989 ms. 2024-07-22 09:10:37,435 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-d83226d1-e7ab-4a7d-a33e-3a47bd02f3bd): no suitable block pools found to scan. Waiting 1814399989 ms. 2024-07-22 09:10:37,440 INFO hdfs.StateChange: BLOCK* registerDatanode: from DatanodeRegistration(127.0.0.1:37229, datanodeUuid=a9f331a6-65a9-42b5-8b82-f8f1503d80dd, infoPort=41709, infoSecurePort=0, ipcPort=44031, storageInfo=lv=-57;cid=testClusterID;nsid=1207635808;c=1721639435820) storage a9f331a6-65a9-42b5-8b82-f8f1503d80dd 2024-07-22 09:10:37,442 INFO net.NetworkTopology: Adding a new node: /default-rack/127.0.0.1:37229 2024-07-22 09:10:37,442 INFO blockmanagement.BlockReportLeaseManager: Registered DN a9f331a6-65a9-42b5-8b82-f8f1503d80dd (127.0.0.1:37229). 2024-07-22 09:10:37,447 INFO datanode.DataNode: Block pool BP-1046716545-172.17.0.2-1721639435820 (Datanode Uuid a9f331a6-65a9-42b5-8b82-f8f1503d80dd) service to localhost/127.0.0.1:12222 successfully registered with NN 2024-07-22 09:10:37,447 INFO datanode.DataNode: For namenode localhost/127.0.0.1:12222 using BLOCKREPORT_INTERVAL of 21600000msecs CACHEREPORT_INTERVAL of 10000msecs Initial delay: 0msecs; heartBeatInterval=3000 2024-07-22 09:10:37,455 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-a1448e88-6b15-4aee-887b-5f61d7d821b5 for DN 127.0.0.1:37229 2024-07-22 09:10:37,456 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-d83226d1-e7ab-4a7d-a33e-3a47bd02f3bd for DN 127.0.0.1:37229 2024-07-22 09:10:37,472 INFO BlockStateChange: BLOCK* processReport 0x90a814558158d612: Processing first storage report for DS-d83226d1-e7ab-4a7d-a33e-3a47bd02f3bd from datanode a9f331a6-65a9-42b5-8b82-f8f1503d80dd 2024-07-22 09:10:37,474 INFO BlockStateChange: BLOCK* processReport 0x90a814558158d612: from storage DS-d83226d1-e7ab-4a7d-a33e-3a47bd02f3bd node DatanodeRegistration(127.0.0.1:37229, datanodeUuid=a9f331a6-65a9-42b5-8b82-f8f1503d80dd, infoPort=41709, infoSecurePort=0, ipcPort=44031, storageInfo=lv=-57;cid=testClusterID;nsid=1207635808;c=1721639435820), blocks: 0, hasStaleStorage: true, processing time: 2 msecs, invalidatedBlocks: 0 2024-07-22 09:10:37,475 INFO BlockStateChange: BLOCK* processReport 0x90a814558158d612: Processing first storage report for DS-a1448e88-6b15-4aee-887b-5f61d7d821b5 from datanode a9f331a6-65a9-42b5-8b82-f8f1503d80dd 2024-07-22 09:10:37,475 INFO BlockStateChange: BLOCK* processReport 0x90a814558158d612: from storage DS-a1448e88-6b15-4aee-887b-5f61d7d821b5 node DatanodeRegistration(127.0.0.1:37229, datanodeUuid=a9f331a6-65a9-42b5-8b82-f8f1503d80dd, infoPort=41709, infoSecurePort=0, ipcPort=44031, storageInfo=lv=-57;cid=testClusterID;nsid=1207635808;c=1721639435820), blocks: 0, hasStaleStorage: false, processing time: 0 msecs, invalidatedBlocks: 0 2024-07-22 09:10:37,486 INFO datanode.DataNode: Successfully sent block report 0x90a814558158d612 to namenode: localhost/127.0.0.1:12222, containing 2 storage report(s), of which we sent 2. The reports had 0 total blocks and used 1 RPC(s). This took 2 msecs to generate and 20 msecs for RPC and NN processing. Got back one command: FinalizeCommand/5. 2024-07-22 09:10:37,487 INFO datanode.DataNode: Got finalize command for block pool BP-1046716545-172.17.0.2-1721639435820 2024-07-22 09:10:37,542 INFO hdfs.MiniDFSCluster: Cluster is active 2024-07-22 09:10:37,546 INFO mapreduce.MiniHadoopClusterManager: Started MiniDFSCluster -- namenode on port 12222